

export interface MusicInfo {
  id: string
  title: string
  artist: string
  cover?: string
  url?: string
}

export interface CommunityPost {
  id: string
  userId: number
  content: string
  timestamp: string
  likes: number
  commentCount: number
  shares: number
  type: "music" | "image" | "video" | "playlist"

  // 媒体相关字段
  mediaUrl?: string
  videoUrl?: string
  imageUrl?: string
  musicInfo?: MusicInfo
  playlistInfo?: {
    id: string
    name: string
    cover?: string
    songCount: number
  }

  // 位置信息
  location?: {
    city: string
    name: string
  }

  // 可见性设置
  visibility?: "public" | "friends" | "private"
}

